
REPLICATION FILES FOR:  
	
	On Imputing UNHCR Data
	Forthcoming in Research and Politics, 2018


	Please contact Moritz Marbach if you have any problems 
	or questions with these replication files: moritz.marbach@gess.ethz.ch 
	Current contact details are also available at: www.moritz-marbach.com



	June 7, 2018
	

	Future versions of this data will be made available 
	via github.com/sumtxt/wrd





OVERVIEW
=========

Run "./imputation/MAIN.R" first and then "./replication/MAIN.R". 





CORRESPONDENCE
==============

Figure 1:  ./imputation/results/fig_unhcr_miss_total.pdf 

Figure 2:  ./imputation/results/fig_totalimputed.pdf



Table 1:  ./imputation/tab_eval.tex

Table 2:  ./replication/tab_short2.tex




R sessionInfo() 
===============

R version 3.5.0 (2018-04-23)
Platform: x86_64-apple-darwin17.5.0 (64-bit)
Running under: macOS High Sierra 10.13.4

Matrix products: default
BLAS/LAPACK: /usr/local/Cellar/openblas/0.3.0/lib/libopenblasp-r0.3.0.dev.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] xtable_1.8-2       tidyr_0.8.1        stringr_1.3.1      purrr_0.2.5       
 [5] modelr_0.1.2       imputeTS_2.6       gridExtra_2.3      glmnetUtils_1.1   
 [9] glmnet_2.0-16      foreach_1.4.4      Matrix_1.2-14      ggrepel_0.8.0     
[13] ggplot2_2.2.1      dplyr_0.7.5        datatools_1.1.0    countrycode_1.00.0
[17] colorout_1.2-0    

loaded via a namespace (and not attached):
 [1] stringdist_0.9.4.7 zoo_1.8-1          tidyselect_0.2.4   reshape2_1.4.3    
 [5] urca_1.3-0         lattice_0.20-35    colorspace_1.3-2   rlang_0.2.1       
 [9] pillar_1.2.2       foreign_0.8-70     glue_1.2.0         forecast_8.3      
[13] TTR_0.23-3         bindrcpp_0.2.2     bindr_0.1.1        plyr_1.8.4        
[17] quantmod_0.4-13    stinepack_1.3      timeDate_3043.102  munsell_0.4.3     
[21] gtable_0.2.0       psych_1.8.4        codetools_0.2-15   tseries_0.10-44   
[25] lmtest_0.9-36      parallel_3.5.0     curl_3.2           broom_0.4.4       
[29] xts_0.10-2         Rcpp_0.12.17       scales_0.5.0       adagio_0.7.1      
[33] fracdiff_1.4-2     mnormt_1.5-5       stringi_1.2.2      grid_3.5.0        
[37] tools_3.5.0        quadprog_1.5-5     sandwich_2.4-0     magrittr_1.5      
[41] lazyeval_0.2.1     tibble_1.4.2       pkgconfig_2.0.1    data.table_1.11.4 
[45] assertthat_0.2.0   iterators_1.0.9    R6_2.2.2           nnet_7.3-12       
[49] uroot_2.0-9        nlme_3.1-137       compiler_3.5.0    
